(Az-Zukhuruf) 43 : 76
وَمَا ظَلَمْنَاهُمْ وَلَٰكِنْ كَانُوا هُمُ الظَّالِمِينَ
We haven’t done wrong to them; while they were wrongdoers to themselves.
The impartial Lord while teaching them Adhikr which is the Ticket to the Paradise as well as Shield and Safeguard against all calamities, disasters and hellfire, had also given freedom to be grateful or ungrateful. But they became wrongdoers by rejecting Adhikr, and preferring to the worldly and bodily life than the soul and the Hereafter. See explanation 2: 57; 24: 20; and 39: 47.